package com.ruoyi.system.domain;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 科室对象 mr_depts
 *
 * @author ruoyi
 * @date 2023-04-06
 */
@Setter
@Getter
public class MrDepts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long deptId;

    /** 船号 */
    @Excel(name = "船号")
    private String building;

    /** 区域编码 */
    @Excel(name = "区域编码")
    private String deptCode;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String deptName;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deptId", getDeptId())
            .append("building", getBuilding())
            .append("deptCode", getDeptCode())
            .append("deptName", getDeptName())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
